
build: foo.o bar.o
	ld -m elf_i386 -o foobar foo.o bar.o

foo.o: foo.asm
	nasm -f elf -o foo.o foo.asm

bar.o: bar.c
	gcc -m32 -c -o bar.o bar.c

clean:
	rm -fr *.o foobar
